﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MainResList.ascx.cs" Inherits="Controls_MainResList" %>
<asp:Repeater ID="MRep" runat="server" OnItemDataBound="MRep_ItemDataBound">
    <ItemTemplate>
    <div class="block">
    
<div class="blockBar"><a class="more" href="http://<%=Request.Url.Host+Request.ApplicationPath %>/resources/class.aspx?cid=<%#DataBinder.Eval(Container.DataItem,"ClassID") %>" title="查看更多的<%#DataBinder.Eval(Container.DataItem,"ClassName") %>">查看更多</a><%#DataBinder.Eval(Container.DataItem,"ClassName") %></div>
  <div class="blockList">
  <ul class="mainlist">
        <asp:Repeater ID="CRep" runat="server">
            <ItemTemplate>
                <li><a href="http://<%=Request.Url.Host+Request.ApplicationPath %>/<%=PageUrl %>?rid=<%#DataBinder.Eval(Container.DataItem,"ResID") %>" target="_blank"><font><%#DataBinder.Eval(Container.DataItem,"Title") %></font></a></li>
            </ItemTemplate>
        </asp:Repeater>
  </ul>
 </div></div>
<div class="space clear"></div>
    </ItemTemplate>
</asp:Repeater>